﻿-var statuses = ViewData["statuses"] as IList<NotarialFormStatus>
-var ids = ViewData["ids"] as IList<int>
%form.validate{action="notarialform.ivp/changestatusforgroup",method="post"}
  _formfields    
  =HTMLHelper.MultipleSelect("ids",ids,"name","id",ids.ToArray(),"nolink", false)
  #content
    .formheader
      %h1
        %img.icon24{src="img/headericons/orderform.png"}
          %span="Редактор изменения статусов бланков строгой отчетности"
    _error
    .formbody
      #formnumberholder
        .field
          %label{for="#nfnumber"}
            ="Статус"
          =HTMLHelper.Select("statusid", statuses, "name", "id", 1,"", "NONE", "px200 inline", false, false, "")          
          %a.inline.small.noul{href="#", onclick="return changeStatus();"}
            ="Сменить статус"
          .clear
        .field
          %label{for="#nfnumber"}
            ="Номер бланка"
          %span="77АА"
          %input#nfnumber.px80{maxlength="7"}
          .clear
        .field
          %label{for="#list"}
            ="Список бланков"
          %ul#list.data                          
    .formbottom
      %div         
        %button.return{type="button",onclick="closeForm();"} Вернуться
  #rightmenu  
    _notarialformmenu

        
